﻿using System.Workflow.Activities;

namespace TPG.SharePoint.Workflow.Sample.Workflow
{
    partial class Workflow
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken2 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken3 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken4 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken5 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            this.logWorkflowModification = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.waitForModification = new Microsoft.SharePoint.WorkflowActions.OnWorkflowModified();
            this.eventDrivenActivity1 = new System.Workflow.Activities.EventDrivenActivity();
            this.logToHistoryListActivity3 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.logToHistoryListActivity2 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.completeTask1 = new Microsoft.SharePoint.WorkflowActions.CompleteTask();
            this.onTaskChanged1 = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
            this.logToHistoryListActivity1 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.createTask1 = new Microsoft.SharePoint.WorkflowActions.CreateTask();
            this.eventHandlersActivity1 = new System.Workflow.Activities.EventHandlersActivity();
            this.sequenceActivity1 = new System.Workflow.Activities.SequenceActivity();
            this.logWorkflowCompleted = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.workflowModificationScope = new System.Workflow.Activities.EventHandlingScopeActivity();
            this.logWorkflowStart = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.enableModification = new Microsoft.SharePoint.WorkflowActions.EnableWorkflowModification();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // logWorkflowModification
            // 
            this.logWorkflowModification.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logWorkflowModification.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            this.logWorkflowModification.HistoryDescription = "The workflow was modified";
            this.logWorkflowModification.HistoryOutcome = "";
            this.logWorkflowModification.Name = "logWorkflowModification";
            this.logWorkflowModification.OtherData = "";
            this.logWorkflowModification.UserId = -1;
            // 
            // waitForModification
            // 
            this.waitForModification.ContextData = null;
            correlationtoken1.Name = "modificationToken";
            correlationtoken1.OwnerActivityName = "Workflow";
            this.waitForModification.CorrelationToken = correlationtoken1;
            this.waitForModification.ModificationId = new System.Guid("e43f0c48-71a6-4e87-a9c7-42f2412b1a99");
            this.waitForModification.Name = "waitForModification";
            this.waitForModification.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.WaitForModification_Invoked);
            // 
            // eventDrivenActivity1
            // 
            this.eventDrivenActivity1.Activities.Add(this.waitForModification);
            this.eventDrivenActivity1.Activities.Add(this.logWorkflowModification);
            this.eventDrivenActivity1.Name = "eventDrivenActivity1";
            // 
            // logToHistoryListActivity3
            // 
            this.logToHistoryListActivity3.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryListActivity3.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            activitybind1.Name = "Workflow";
            activitybind1.Path = "TaskOneComments";
            this.logToHistoryListActivity3.HistoryOutcome = "";
            this.logToHistoryListActivity3.Name = "logToHistoryListActivity3";
            this.logToHistoryListActivity3.OtherData = "";
            this.logToHistoryListActivity3.UserId = -1;
            this.logToHistoryListActivity3.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // logToHistoryListActivity2
            // 
            this.logToHistoryListActivity2.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryListActivity2.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCompleted;
            this.logToHistoryListActivity2.HistoryDescription = "Task one was completed";
            activitybind2.Name = "Workflow";
            activitybind2.Path = "TaskOneResult";
            this.logToHistoryListActivity2.Name = "logToHistoryListActivity2";
            this.logToHistoryListActivity2.OtherData = "";
            this.logToHistoryListActivity2.UserId = -1;
            this.logToHistoryListActivity2.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // completeTask1
            // 
            correlationtoken2.Name = "TaskOneToken";
            correlationtoken2.OwnerActivityName = "Workflow";
            this.completeTask1.CorrelationToken = correlationtoken2;
            this.completeTask1.Name = "completeTask1";
            activitybind3.Name = "Workflow";
            activitybind3.Path = "TaskId";
            activitybind4.Name = "Workflow";
            activitybind4.Path = "TaskOneResult";
            this.completeTask1.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.completeTask1.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // onTaskChanged1
            // 
            this.onTaskChanged1.AfterProperties = null;
            this.onTaskChanged1.BeforeProperties = null;
            correlationtoken3.Name = "TaskOneToken";
            correlationtoken3.OwnerActivityName = "Workflow";
            this.onTaskChanged1.CorrelationToken = correlationtoken3;
            this.onTaskChanged1.Executor = null;
            this.onTaskChanged1.Name = "onTaskChanged1";
            activitybind5.Name = "Workflow";
            activitybind5.Path = "TaskId";
            this.onTaskChanged1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.ChangeTaskOne_Invoked);
            this.onTaskChanged1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // logToHistoryListActivity1
            // 
            this.logToHistoryListActivity1.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryListActivity1.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCreated;
            this.logToHistoryListActivity1.HistoryDescription = "Task one was created";
            this.logToHistoryListActivity1.HistoryOutcome = "";
            this.logToHistoryListActivity1.Name = "logToHistoryListActivity1";
            this.logToHistoryListActivity1.OtherData = "";
            this.logToHistoryListActivity1.UserId = -1;
            // 
            // createTask1
            // 
            correlationtoken4.Name = "TaskOneToken";
            correlationtoken4.OwnerActivityName = "Workflow";
            this.createTask1.CorrelationToken = correlationtoken4;
            this.createTask1.ListItemId = -1;
            this.createTask1.Name = "createTask1";
            this.createTask1.SpecialPermissions = null;
            activitybind6.Name = "Workflow";
            activitybind6.Path = "TaskId";
            this.createTask1.TaskProperties = null;
            this.createTask1.MethodInvoking += new System.EventHandler(this.CreateTaskOne_Invoking);
            this.createTask1.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            // 
            // eventHandlersActivity1
            // 
            this.eventHandlersActivity1.Activities.Add(this.eventDrivenActivity1);
            this.eventHandlersActivity1.Name = "eventHandlersActivity1";
            // 
            // sequenceActivity1
            // 
            this.sequenceActivity1.Activities.Add(this.createTask1);
            this.sequenceActivity1.Activities.Add(this.logToHistoryListActivity1);
            this.sequenceActivity1.Activities.Add(this.onTaskChanged1);
            this.sequenceActivity1.Activities.Add(this.completeTask1);
            this.sequenceActivity1.Activities.Add(this.logToHistoryListActivity2);
            this.sequenceActivity1.Activities.Add(this.logToHistoryListActivity3);
            this.sequenceActivity1.Name = "sequenceActivity1";
            // 
            // logWorkflowCompleted
            // 
            this.logWorkflowCompleted.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logWorkflowCompleted.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowCompleted;
            this.logWorkflowCompleted.HistoryDescription = "Sample workflow has completed";
            this.logWorkflowCompleted.HistoryOutcome = "";
            this.logWorkflowCompleted.Name = "logWorkflowCompleted";
            this.logWorkflowCompleted.OtherData = "";
            this.logWorkflowCompleted.UserId = -1;
            // 
            // workflowModificationScope
            // 
            this.workflowModificationScope.Activities.Add(this.sequenceActivity1);
            this.workflowModificationScope.Activities.Add(this.eventHandlersActivity1);
            this.workflowModificationScope.Name = "workflowModificationScope";
            // 
            // logWorkflowStart
            // 
            this.logWorkflowStart.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logWorkflowStart.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowStarted;
            this.logWorkflowStart.HistoryDescription = "The workflow has started";
            this.logWorkflowStart.HistoryOutcome = "";
            this.logWorkflowStart.Name = "logWorkflowStart";
            this.logWorkflowStart.OtherData = "";
            this.logWorkflowStart.UserId = -1;
            // 
            // enableModification
            // 
            this.enableModification.ContextData = "";
            this.enableModification.CorrelationToken = correlationtoken1;
            this.enableModification.ModificationId = new System.Guid("e43f0c48-71a6-4e87-a9c7-42f2412b1a99");
            this.enableModification.Name = "enableModification";
            this.enableModification.MethodInvoking += new System.EventHandler(this.WorkflowModification_Invoking);
            // 
            // onWorkflowActivated1
            // 
            correlationtoken5.Name = "WorkflowToken";
            correlationtoken5.OwnerActivityName = "Workflow";
            this.onWorkflowActivated1.CorrelationToken = correlationtoken5;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            activitybind7.Name = "Workflow";
            activitybind7.Path = "WorkflowActivationProperties";
            this.onWorkflowActivated1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.OnWorkflowActivated_Invoked);
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            // 
            // Workflow
            // 
            this.Activities.Add(this.onWorkflowActivated1);
            this.Activities.Add(this.enableModification);
            this.Activities.Add(this.logWorkflowStart);
            this.Activities.Add(this.workflowModificationScope);
            this.Activities.Add(this.logWorkflowCompleted);
            this.Name = "Workflow";
            this.CanModifyActivities = false;

        }

        #endregion

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logToHistoryListActivity3;

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logToHistoryListActivity2;

        private Microsoft.SharePoint.WorkflowActions.CompleteTask completeTask1;

        private Microsoft.SharePoint.WorkflowActions.OnTaskChanged onTaskChanged1;

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logToHistoryListActivity1;

        private Microsoft.SharePoint.WorkflowActions.CreateTask createTask1;

        private SequenceActivity sequenceActivity1;

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowCompleted;

        private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1;

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowModification;

        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logWorkflowStart;

        private EventHandlingScopeActivity workflowModificationScope;

        private Microsoft.SharePoint.WorkflowActions.OnWorkflowModified waitForModification;

        private EventDrivenActivity eventDrivenActivity1;

        private EventHandlersActivity eventHandlersActivity1;

        private Microsoft.SharePoint.WorkflowActions.EnableWorkflowModification enableModification;




    }
}
